<!-- 公共头部 -->
    <header class="header">
    <div class="header-top">
      <div class="header-top-info">
        <div class="header-top-info-left"><a href="javascript:;">奇乐虚拟资产交易系统，国内首款中介交易系统</a></div>
        <div class="header-top-info-right">
        {if !session('uid')}
       <!-- 登录前 -->
         <ul>
          <li><a href="{:url('@user/login')}">登陆</a> <span class="line"></span> </li>
          <li><a href="{:url('@user/register')}">注册</a></li>
          <li><a href="{:url('@guarantee/info/list',['alias1'=>'help','id'=>''])}">帮助中心</a></li>
         </ul>
         {else}
         <ul>
         <!-- 登陆后  -->
         <li>您好，<a href="{:url('@user/index')}">{$Think.session.username}</a> <a href="{:url('/user/logout')}">退出</a> </li>
         <li><a href="{:url('@user/guarantee/info')}">我发布的信息</a> </li>
         <li class="myorder"><a href="javascript:;" >我的订单</a> 
            <div class="item">
                <p><a href="{:url('@user/guarantee/buyer')}">我是买家</a></p>
                <p><a href="{:url('@user/guarantee/seller')}">我是卖家</a></p>
            </div>
           </li>
           <li><a href="{:url('@guarantee/info/list',['alias1'=>'help','id'=>''])}">帮助中心</a></li>
         </ul>

          
        {/if}
        </div>
      </div>

    </div>
    <div class="header-center">
       <div class="logo"><img src="{$settings.site.logo}" ></div>
       <div class="banner"></div>
       <div class="search-keywords">
       <form action="{:url('search/index')}" method="get">
         <div class="search">
              <div class="layui-input-inline search-box" style="">
              <input type="text" name="keywords"  placeholder="" autocomplete="off" class="layui-input">
              </div>
                <div class="layui-input-inline">
                 <button class="layui-btn layui-btn-danger search-button">搜索</button>
               </div>
             </div>
       </form>
    </div>
     <div class="trade-publish">
      <a  href="{:url('@guarantee/trade/publish')}" class="blue-btn-box trade-publish-botton">我要发布信息</a>
      </div>
  </div>

<div class="fly-header" style="">
  <div class="layui-main">

    <ul class="layui-nav layui-hide-xs menu">
         {qilecms:nav}
           <li class="layui-nav-item">
             <a href="{$vo.url}" {if $vo.target} target="_blank" {/if}>
           {if $vo.icon}<i class="{$vo.icon}" aria-hidden="true"></i> {/if}{$vo.name}</a>
           </li>
        {/qilecms:nav}
    </ul>
    

  </div>
</div>
</header>